<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://jchome.jsprun.com/jch" prefix="jch"%>
<c:set var="tpl_noSideBar" value="1" scope="request" />
<jsp:include page="${jch:template(sConfig, sGlobal, 'header.jsp')}" />
<script src="source/jquery-1.8.1.min.js" type="text/javascript"></script>
<script type="text/javascript">

<!--
function setTab(e,n){
 for(i=0;i<3;i++){
  var menu=document.getElementById("w"+""+e+""+i);
  var con=document.getElementById("m"+e+""+i);
  menu.className=i==n?"now":"";
  con.style.display=i==n?"block":"none";
 }
}
//-->

</script>
<style>
<!--
@import url(template/default/css/mystyle.css);
-->

</style>
<div id="nav">
	    <div class="phb">
		    <div class="zuo">
			         <div class="pai">
			           <table width="98%" border="0" cellspacing="0" cellpadding="0">
                         <tbody><tr>
                           <td height="33" align="left"><div style="width:600px;"><div style="width:200px;float:left;">&nbsp;&nbsp;&nbsp;<img src="template/default/images/4.gif" width="9" height="9">&nbsp;&nbsp;&nbsp;&nbsp;<b>排行榜</b></div></div><div style="width:200px;float:right;padding-right:2px;"><span class="r_option"><a href="space.jsp?do=top">我要上榜</a>&nbsp;&nbsp;&nbsp;<a href="space.jsp?do=top">更多排行榜</a></span></div></td>
                         </tr>
                         <tr>
                           <td height="164" valign="middle" align="left">
                           <div>
                   <ul>
                      
					<c:forEach items="${shows}" var="show">
					 <li style="float:left;width:120px;margin-left:15px;">
                        <div style="width:120px; float:left"><a href="space.jsp?uid=${show.uid}" target="_blank" rel="${sNames[show.uid]}" rev="${show.note}" >${jch:avatar2(show.uid,"middle",false,sGlobal,sConfig)}</a>
                        <div align="left">${show.username}</div></div>
					 </li>
					</c:forEach>
                      
				</ul>
                </div>
							</td>
                         </tr>
                       </tbody></table>
			         </div>
			         <div class="hy">
<div id="tab1">
<ul>
<li class="now" id="w10" onclick="setTab(1,0)"><a><span>活跃女会员</span></a></li>
<li id="w11" onclick="setTab(1,1)"><a ><span>推荐女会员</span></a></li>
<li id="w12" onclick="setTab(1,2)"><a ><span>最新女会员</span></a></li>
</ul>
</div>
<div id="tablist1">
<div class="tablist block" id="m10" style="height: 290px; padding-top: 2px;">
   <c:forEach items="${ativeWman}" var="ativeWman">
   <li style="float:left;width:120px;">
       <div style="width:120px; float:left"><a href="space.jsp?uid=${ativeWman.uid}" target="_blank" rel="${ativeWman.username}"  >${jch:avatar2(ativeWman.uid,"middle",false,sGlobal,sConfig)}</a><div>111</div></div>
   </li>
   </c:forEach>
</div>

<div class="tablist" id="m11"  style="height: 290px; padding-top: 2px;">
 <c:forEach items="${starWman}" var="starWman">
 <li style="float:left;width:120px;">
 <div style="width:300px; float:left;padding-right: 5px;padding-top: 2px;"><a href="space.jsp?uid=${starWman.uid}" target="_blank" rel="${starWman.username}"  >${jch:avatar2(starWman.uid,"middle",false,sGlobal,sConfig)}</a><div>111</div></div>
 </li>
 </c:forEach>
</div>
<div class="tablist" id="m12" style="height:290px;padding-top: 2px;">
 <c:forEach items="${latestWman}" var="latestWman">
 <li style="float:left;width:120px;padding-left: 22px;padding-top: 2px;">
   <div style="with:300px; float:left;"><a href="space.jsp?uid=${latestWman.uid}" target="_blank" rel="${latestWman.username}"  >${jch:avatar2(latestWman.uid,"middle",false,sGlobal,sConfig)}</a><div>${latestWman.username}&nbsp;${latestWman.residecity}</div></div>
 </li>
   </c:forEach>
</div>

</div>


<div id="tab2" style="margin-top:5px;">
<ul>
<li class="now" id="w20" onclick="setTab(2,0)"><a><span>活跃男会员</span></a></li>
<li  id="w21" onclick="setTab(2,1)"><a ><span>推荐男会员</span></a></li>
<li  id="w22" onclick="setTab(2,2)"><a ><span>最新男会员</span></a></li>
</ul>
</div>
<div id="tablist2" >
<div class="tablist block" id="m20"  style="height: 290px; padding-top: 2px;">
   <c:forEach items="${ativeMan}" var="ativeMan">
   <li style="float:left;width:120px;">
       <div style="width:120px; float:left;"><a href="space.jsp?uid=${ativeMan.uid}" target="_blank" rel="${ativeMan.username}"  >${jch:avatar2(ativeMan.uid,"middle",false,sGlobal,sConfig)}</a><div>${ativeMan.username}&nbsp;${ativeMan.residecity}</div></div>
   </li>
   </c:forEach>
</div>

<div class="tablist" id="m21" style="height: 290px; padding-top: 2px;">
 <c:forEach items="${starMan}" var="starMan">
 <li style="float:left;width:120px;">
 <div style="width:120px; float:left;"><a href="space.jsp?uid=${starMan.uid}" target="_blank" rel="${starMan.username}" >${jch:avatar2(starMan.uid,"middle",false,sGlobal,sConfig)}</a><div>${starMan.username}&nbsp;${starMan.residecity}</div></div>
 </li>
 </c:forEach>

</div>
<div class="tablist" id="m22" style="height: 290px;  padding-top: 2px;">
 <c:forEach items="${latestMan}" var="latestMan">
 <li style="float:left;width:120px;padding-left: 22px;padding-top: 2px;">
   <div style="width:120px; float:left;"><a href="space.jsp?uid=${latestMan.uid}" target="_blank" rel="${latestMan.username}"  >${jch:avatar2(latestMan.uid,"middle",false,sGlobal,sConfig)}</a><div>${latestMan.username}&nbsp;${latestMan.residecity}</div></div>
 </li>
   </c:forEach>
</div>

</div>

		</div>
			
			</div>
			<div class="you">
			   <div class="hyy" style="height:280px;">
			     <table width="100%" height="190" border="0" cellpadding="0" cellspacing="0">
                   <tbody><tr>
                     <td style="height:27px;" align="left" background="template/default/images/lm.gif"><span class="STYLE2">&nbsp;&nbsp;&nbsp;<img src="template/default/images/4.gif" width="9" height="9"><b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;网站公告<b></span></td>
                   </tr>
                   <tr>
                     <td height="107" align="center" valign="top">
					<div style="width:212px;">
    				<ul>
  						<li>
  						<p>暂无公告</p>
  						</li>
    				</ul>
    			</div>
    			</td>
                   </tr>
                 </tbody></table>
			   </div>
			   			   <div class="hyy" style="margin-top:5px;height:280px;">
			     <table width="100%" height="190" border="0" cellpadding="0" cellspacing="0">
                   <tbody><tr>
                     <td style="height:27px;" align="left" background="template/default/images/lm.gif"><span class="STYLE2">&nbsp;&nbsp;&nbsp;<img src="template/default/images/4.gif" width="9" height="9"><b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;最新举报 <b></span></td>
                   </tr>
                   <tr>
                     <td height="107" align="center" valign="top">
                     <div style="width:212px;">
                				<ul>
                					<c:forEach items="${reports}" var="report">
                                        ${report.reason}
                					</c:forEach>
                				</ul>
    			</div>
    			</td>
                   </tr>
                 </tbody></table>
			   </div>
			   
			   
			   </div>
	    </div>


	 </div>

   <div class="nbox" style="background-color:#bb027a;margin-bottom:0px;margin-top:2px;">
	 <div class="nbox_c_revision">
	   <div class="l" style="height:32px;width:966px;line-height:25px; overflow:hidden;vertical-align:middle">
				<span class="r_option"><a href="space.jsp?do=mtag&view=hot&orderby=threadnum">更多群组</a></span><img src="image/app/event.gif" style="vertical-align:middle;margin-left:10px;">&nbsp;群组 &raquo;
				<c:forEach items="${globalProfield}" var="profield">
				&nbsp; <a href="space.jsp?do=mtag&view=hot&fieldid=${profield.value.fieldid}&orderby=threadnum">${profield.value.title}</a>
				</c:forEach>
		 </div>
		 <ul class="elist1">
	
				<c:forEach items="${rlist}" var="value">
					<li>
						<h3><a href="space.jsp?do=mtag&tagid=${value.tagid}" style="font-weight:bold;">${value.tagname}</a></h3>
						<p class="eimage"><a href="space.jsp?do=mtag&tagid=${value.tagid}"><img src="${value.pic}" style="width:60px;"></a></p>
						<p><span class="gray">话题:</span>${value.threadnum}</p>
						<p><span class="gray">回帖:</span> ${value.postnum}</p>
						<p class="egz">${value.membernum} 人加入</p>
					</li>
				</c:forEach>
			</ul>
</div>
	</div> 

	<div class="nbox" style="background-color:#bb027a;margin-bottom:0px;margin-top:2px;" >
		<div class="nbox_c_revision">
	   <div class="l" style="height:32px;width:966px;line-height:25px; overflow:hidden;vertical-align:middle">
				<span class="r_option"><a href="space.jsp?do=event&view=recommend">更多活动</a></span><img src="image/app/event.gif" style="vertical-align:middle;margin-left:10px;">&nbsp;活动 &raquo;
				<c:forEach items="${globalEventClass}" var="eventClass">
				&nbsp; <a href="space.jsp?do=event&view=all&type=going&classid=${eventClass.value.classid}">${eventClass.value.classname}</a>
				</c:forEach>
			</div>
			<ul class="elist">
				<c:forEach items="${events}" var="event">
					<li>
						<h3><a href="space.jsp?do=event&id=${event.eventid}" target="_blank">${event.title}</a></h3>
						<p class="eimage"><a href="space.jsp?do=event&id=${event.eventid}" target="_blank"><img src="${event.poster}"/></a></p>
						<p><span class="gray">时间:</span> ${event.starttime} - ${event.endtime}</p>
						<p><span class="gray">地点:</span> ${event.province} ${event.city} ${event.location}</p>
						<p><span class="gray">发起:</span> <a href="space.jsp?uid=${event.uid}">${sNames[event.uid]}</a></p>
						<p class="egz">${event.membernum} 人参加<span class="pipe">|</span>${event.follownum} 人关注</p>
					</li>
				</c:forEach>
			</ul>
		</div>
	</div>
</div>
<jsp:include page="${jch:template(sConfig, sGlobal, 'footer.jsp')}" />